Part Cylinder/ru

Цилиндр

Расположение в меню
Деталь → Примитивы → Цилиндр
Верстаки
Part
Быстрые клавиши
Нет
Представлено в версии
-
См. также
Создать примитивы

Описание

Создаёт простой цилиндр с параметрами расположение, угол, радиус и длина.

A Part Cylinder can be turned into a segment of a cylinder by changing its ДанныеAngle property.

Применение

  1. Нажмите на Верстак Part
  2. Существует несколько способов вызова команды:
    • Нажмите на иконку Цилиндр на панели инструментов.
    • Выберите из меню Деталь → Примитивы → Цилиндр.

Example

Part Cylinder from the scripting example

A Part Cylinder object created with the scripting example below is shown here.

Notes

Свойства

See also: Property editor.

A Part Cylinder object is derived from a Part Feature object and inherits all its properties. It also has the following additional properties:

Data

Attachment

The object has the same attachment properties as a Part Part2DObject.

Cylinder

Prism

Scripting

See also: Autogenerated API documentation, Part scripting and FreeCAD Scripting Basics.

A Part Cylinder can be created with the addObject() method of the document:

cylinder = FreeCAD.ActiveDocument.addObject("Part::Cylinder", "myCylinder")

Example:

import FreeCAD as App

doc = App.activeDocument()

cylinder = doc.addObject("Part::Cylinder", "myCylinder")
cylinder.Radius = 10
cylinder.Height = 50
cylinder.Placement = App.Placement(App.Vector(5, 10, 15), App.Rotation(75, 60, 30))

doc.recompute()